package com.kinghunt.misp.service.api.roomx;

import com.bygoodtech.kings.common.dto.ApiResult;
import com.bygoodtech.kings.common.dto.page.PageInfo;
import com.kinghunt.misp.common.dto.roomx.RoomDTO;
import com.kinghunt.misp.common.param.roomx.RoomParam;

/**
 * 房间管理
 *
 * @Author ciaran
 * @Date 2023/7/13 21:58l
 */
public interface RoomService {

    ApiResult<PageInfo<RoomDTO>> getRoomList(RoomParam roomParam);
    ApiResult<RoomDTO> getRoomDetail(Long roomId);
    ApiResult addRoom(RoomParam roomParam);
    ApiResult updateRoom(RoomParam roomParam) ;

    ApiResult<Boolean> deleteRoom(Long roomId) ;

}
